package com.zhny.iot.okq.soil.plugin;

import com.zhny.aiot.plugin.ActionValue;
import com.zhny.aiot.plugin.PropertyValue;
import com.zhny.aiot.plugin.model.*;
import lombok.Data;

@Data
public class OKQSoilStoreEntry extends StoreEntity {
    @PropertyValue(alias = "土壤湿度1",description = "土壤湿度1",unit = "%",icon= IconConstract.Humidity,variableType= VariableType.Numerical,actions={
            @ActionValue(name= Operate.Check,commandCode="query",eventType= EventType.Click)
    })
    private String humidity1;

    @PropertyValue(alias = "土壤温度1",description = "土壤温度1",unit = "°C",icon= IconConstract.Temperature,variableType= VariableType.Numerical,actions={
            @ActionValue(name= Operate.Check,commandCode="query",eventType= EventType.Click)
    })
    private String temperature1;

    @PropertyValue(alias = "土壤湿度2",description = "土壤湿度2",unit = "%",icon= IconConstract.Humidity,variableType= VariableType.Numerical,actions={
            @ActionValue(name= Operate.Check,commandCode="query",eventType= EventType.Click)
    })
    private String humidity2;

    @PropertyValue(alias = "土壤温度2",description = "土壤温度2",unit = "°C",icon= IconConstract.Temperature,variableType= VariableType.Numerical,actions={
            @ActionValue(name= Operate.Check,commandCode="query",eventType= EventType.Click)
    })
    private String temperature2;

    @PropertyValue(alias = "土壤湿度3",description = "土壤湿度3",unit = "%",icon= IconConstract.Humidity,variableType= VariableType.Numerical,actions={
            @ActionValue(name= Operate.Check,commandCode="query",eventType= EventType.Click)
    })
    private String humidity3;

    @PropertyValue(alias = "土壤温度3",description = "土壤温度3",unit = "°C",icon= IconConstract.Temperature,variableType= VariableType.Numerical,actions={
            @ActionValue(name= Operate.Check,commandCode="query",eventType= EventType.Click)
    })
    private String temperature3;

//    @PropertyValue(alias = "虫害描述",description = "虫害描述",unit = "",icon= IconConstract.Other,variableType= VariableType.Numerical,actions={
//            @ActionValue(name= Operate.Check,commandCode="query",eventType= EventType.Click)
//    })
//    private String describe;
}
